import { load } from '@/assets/js/array-store'
import { FAVORITE_KEY, PLAY_MODE } from '@/assets/js/constant'

const state = {
  sequenceList: [], // 顺序列表播放
  playlist: [], // 播放列表
  playing: false,
  playMode: PLAY_MODE.sequence, // 播放模式
  currentIndex: 0,
  fullScreen: false,
  favoriteList: load(FAVORITE_KEY)
}
export default state
